// 导航栏数据持久化
import {getStore, setStore, removeStore} from '@/util/store'
const navs = {
	state:{
		tabList:getStore('tabList') || [],
		tab:'',
		tabIndex:0
	},
	mutations:{
		Add_Tabs:(state, action)=>{
			console.log(action)
			state.tabList.push({
				name:action.name,
				title:action.title
			})
		}	
	},
	actions:{

	}
}
export default navs